import { fetchGet, fetchPost } from '../utils/request';

// userEmailLogin 用户邮箱登录
export const userEmailLogin = (data: any) => fetchPost('/users/login', data);

// userProfile 用户详情
export const userProfile = () => fetchGet('/users/profile', {});